Skip to content

fix: handle correctly runtime files #4683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2019

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Jun 5, 2019

As we have an issue that the hmr changes are not applied after restarting the application, we need to skip webpack's runtime chunks when sending files for the HMR updates.

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

@cla-bot cla-bot bot added the cla: yes label Jun 5, 2019
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please explain with more details what is the issue and why we need to skip those files?
In the future if we get back to this commit we'll not be able to determine why it was done.

@Fatme
Copy link
Contributor Author

Fatme commented Jun 6, 2019

The problem is related to this issue NativeScript/nativescript-dev-webpack#868. As it was fixed in nativescript-dev-webpack (NativeScript/nativescript-dev-webpack#873) and due to the fact that all compilation logic from nativescript-dev-webpack repo was moved to nativescript-cli repo, we needed to integrate the changes here.

@Fatme Fatme merged commit c198956 into feature/webpack-only Jun 6, 2019
@Fatme Fatme deleted the fatme/handle-runtime-files branch June 6, 2019 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants